﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/admin/masLogin.master"
    CodeFile="Login.aspx.cs" Inherits="account_Login" %>

<asp:Content ID="Content2" ContentPlaceHolderID="content" runat="Server">
    <asp:Login ID="Login1" runat="server" OnLoggedIn="Login1_LoggedIn">
        <LayoutTemplate>
            <div class="notification information png_bg">
                <div>
                    Please input username and password to login system.
                </div>
            </div>
            <p>
                <label>
                    <asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName">User Name:</asp:Label></label>
                <asp:TextBox ID="UserName" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="UserName"
                    ErrorMessage="User Name is required." ToolTip="User Name is required." ValidationGroup="Login1">*</asp:RequiredFieldValidator>
            </p>
            <div class="clear">
            </div>
            <p>
                <label>
                    <asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password">Password:</asp:Label></label>
                <asp:TextBox ID="Password" runat="server" TextMode="Password"></asp:TextBox>
                <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="Password"
                    ErrorMessage="Password is required." ToolTip="Password is required." ValidationGroup="Login1">*</asp:RequiredFieldValidator>
            </p>
            <div class="clear">
            </div>
            <p id="remember-password">
                <asp:CheckBox ID="RememberMe" runat="server" />
                Remember me.
            </p>
            <p id="forgotpass-password">
                <a href="RecoveryPassword.aspx">Forgot password?</a>
            </p>
            <p id="FailText">
                <asp:Literal ID="FailureText" runat="server" EnableViewState="False"></asp:Literal></p>
            <div class="clear">
            </div>
            <p>
                <asp:Button ID="LoginButton" runat="server" CommandName="Login" Text="Sign In" ValidationGroup="Login1"
                    CssClass="button" />
            </p>
        </LayoutTemplate>
    </asp:Login>
</asp:Content>
